//
//  FinishChangePhoneVC.m
//  hnGovernment
//
//  Created by 安仔 on 17/3/6.
//  Copyright © 2017年 安仔. All rights reserved.
//

#import "FinishChangePhoneVC.h"
#import "FinishChangeView.h"
#import "NSString+mobileEncryption.h"
#import "DDcacheManager.h"

@interface FinishChangePhoneVC ()<FinishChangeViewDelegate>

@property (nonatomic, strong) FinishChangeView *finishChangeView;

@end

@implementation FinishChangePhoneVC
   
- (void)viewDidLoad {
    [super viewDidLoad];
    
    self.title = NSLocalString(@"修改手机号");
    self.view.backgroundColor = [UIColor whiteColor];
    
    
    self.finishChangeView = [[FinishChangeView alloc] initWithFrame:CGRectMake(0, 0, KScreenWidth, KScreenHeight - 128 * m6Scale)];
    self.finishChangeView.delegate = self;
    ZWUserModel *model = [cacheManager getUserModel];
    self.finishChangeView.contentLab.text = [NSString stringWithFormat:@"当前手机号: %@",[model.mobile encryption]];
    [self.view addSubview:self.finishChangeView];
    
}

- (void) clickFinishBtn {
    [self.navigationController popToViewController:self.navigationController.childViewControllers[1] animated:YES];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}



@end
